package com.ruizhong.centercontroll.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.ruizhong.centercontroll.entity.TWebPage;

import java.util.List;
import java.util.Map;

public interface TWebPageService extends IService<TWebPage> {
    void saveNewWebPageList(List<Map<String, Object>> webPageList, Integer pageId, boolean isNew);

    List<TWebPage> getWebPagesByPageId(Integer pageId, Double pageWidth, Double pageHeight, Double aimPageWidth, Double aimPageHeight, Boolean display) throws JsonProcessingException;

    List<TWebPage> getWebPageIdsByPageId(Integer pageId);
}
